<script>
	import {
		mapActions,
		mapGetters
	} from "vuex"

	export default {
		methods: {
			...mapActions('USER', ['init']),
		},
		onLaunch: function() {
			this.init()
			console.log('App  Launch')
			uni.hideTabBar()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css*/
	@import "./static/iconfont.css";

	/*uview-ui样式*/
	@import "uview-ui/index.scss";

	/* 跟随手机系统的字体 */
	input,
	page {
		font-family: Monospaced Number, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif !important;
		font-size: 24rpx;
	}

	page {
		height: 100vh;
	}
</style>
